<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="jsUnitTest/test.css">

<script type="text/javascript" src="jsUnitTest/test_runner.js"></script>
<script type="text/javascript" src="../tetris.js"></script>
<script type="text/javascript" src="../rotationsystem.js"></script>
<script type="text/javascript" src="matrixTestCase.js"></script>
<script type="text/javascript" src="pieceTypeTestCase.js"></script>
<script type="text/javascript" src="sRSRotationSystemTestCase.js"></script>
<script type="text/javascript" src="pieceMatrixIteratorTestCase.js"></script>
<script type="text/javascript" src="tetrisPieceTestCase.js"></script>
<script type="text/javascript" src="tetrisBoardTestCase.js"></script>

<title>Tetris test</title>

<style type="text/css">
.testResultTable {
	float: left;
}
</style>
</head>
<body>
	<div id="testResult"></div>

	<script type="text/javascript">
		Assert.staticImport();
		var tests = [ matrixTestCase, pieceTypeTestCase, sRSRotationSystemTestCase,
				pieceMatrixIteratorTestCase, tetrisPieceTestCase, tetrisBoardTestCase ];
		new TestSuite(tests).run();
	</script>

</body>
</html>